#pragma once

#include "Includes.h"
#include "Constants.h"
#include "CUserCmd.h"
#include "Utilities.h"
#include "Entity.h"
#include "Player_Info.h"
#include "GameUtilities.h"
#include "HL2Interface.h"
#include "NoSpread.h"
#include "Trace.h"
#include "Ray.h"

class Aimbot
{
private:
	SD_Tools::Vector vFinal;
	int m_iTarget;
	float m_flDistance;
	bool Active;
	int TargetBone;
public:
	bool Silent;
private:
	void DropTarget();
public:
	void Init();
	void Enable();
	void Disable();
	void Set(bool Active);
	void SetBone(int Bone);
	bool Compute(CUserCmd* cmd);
};

extern Aimbot g_pAimbot;
